package com.druid.response;

import com.druid.entity.CeSecurityResource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="SecurityResourceVm对象", description="权限资源列表视图层对象")
public class SecurityResourceVm {

    @ApiModelProperty(value = "权限名称")
    private String permissionName;

    @ApiModelProperty(value = "权限Id")
    private Integer permissionId;

    @ApiModelProperty(value = "资源列表")
    private List<CeSecurityResource> resourceList;
}
